#include "ros/ros.h"
#include "geometry_msgs/Twist.h"

int main(int argc, char** argv) {
    ros::init(argc, argv, "ros");
    ros::NodeHandle nh;
    ros::Publisher pub = nh.advertise <geometry_msgs::Twist>("turtle1/cmd_vel", 10);
    ros::Rate rate(10);
    geometry_msgs::Twist twist;
    twist.linear.x = 10;
    twist.angular.z = 10;
    while (ros::ok()) {
        pub.publish(twist);
        rate.sleep();
        ros::spinOnce();
    }
    return 0;
}